<?php
return [
    'name' => env('ADMIN_NAME', ''),
    'domain' => env('ADMIN_DOMAIN', ''), // 限定可访问后台的域名
    'mix_external' => env('MIX_EXTERNAL', false),// 是否从外部CDN加载资源
    'login_scan' => env('ADMIN_LOGIN_SCAN', false),// 扫码登录
    'log_sql_enabled' => env('LOG_SQL_ENABLED', false), // sql 日志
    'node_id' => env('ADMIN_ID', 0), // 节点ID
    'left_time' => env('ADMIN_LIFETIME', 0), // 生命时间 秒
    'enable_export' => env('ADMIN_ENABLE_EXPORT', false), // 允许导出
    'enable_api' => env('ADMIN_ENABLE_API', true), // API
    'enable_api_debug_log' => env('ADMIN_ENABLE_API_DEBUG_LOG', false), // API调试日志
    'enable_cron' => env('ADMIN_ENABLE_CORN', true), // 定时任务
    'enable_customer' => env('ADMIN_ENABLE_CUSTOMER', false), // 客户后台
    'enable_socket' => env('ADMIN_ENABLE_SOCKET', false), // SOCKET
    'mix_websocket' => env('MIX_WEBSOCKET', ''), // websocket

    'dingding_admin' => env('DINGDING_ADMIN'),// 管理员
    'dingding_developer' => env('DINGDING_DEVELOPER'), // 开发
    'dingding_operate' => env('DINGDING_OPERATE'), // 运营

    'platform_notify_url' => explode(',', env('PLATFORM_NOTIFY_URL', '')), // 平台通知地址

    'basic_user' => env('BACKEND_BASIC_USER', ''),
    'basic_password' => env('BACKEND_BASIC_PASS', ''),

    'sso_aes_cipher' => env('SSO_AES_CIPHER', ''),
    'sso_aes_key' => env('SSO_AES_KEY', ''),
    'sso_aes_iv' => env('SSO_AES_IV', ''),

    'enable_login' => env('ADMIN_LOGIN', true), // 后台登录开关
];
